#include "comm.hpp"
#include <unistd.h>
int main()
{
     key_t k = getKey();
    printf("0x%x\n", k);
    int shmid = getShm(k);
    printf("shmid:%d\n",shmid);

    sleep(5);
    char *start = (char*)attachShm(shmid);
    printf("attach success, address start: %p\n", start);

    sleep(5);
    

    return 0;
}